﻿namespace MVC系统mvc.Dto.Purch
{
    public class UpdatePurchDto
    {
        /// <summary>
        /// 采购管理ID
        /// </summary>

        public int PurchaseID { get; set; }
        /// <summary>
        /// 采购编号
        /// </summary>
        public string? PurchaseCode { get; set; }
        /// <summary>
        /// 采购原料编号
        /// </summary>
        public string? Ingredientnumber { get; set; }
        /// <summary>
        /// 采购原料名称
        /// </summary>
        public string? IngredientName { get; set; }
        /// <summary>
        /// 采购原料数量
        /// </summary>
        public int? PurchaseNumber { get; set; }
        /// <summary>
        /// 采购原料型号
        /// </summary>
        public string? PurchaseSpecification { get; set; }
        /// <summary>
        /// 采购原料尺寸
        /// </summary>
        public string? PurchaseSize { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        public DateTime? PurchaseDate { get; set; }
        /// <summary>
        /// 采购预算
        /// </summary>
        public decimal? PurchaseBudget { get; set; }
        /// <summary>
        /// 采购批次号
        /// </summary>
        public string? PurchaseBatch { get; set; }
        /// <summary>
        /// 采购状态
        /// </summary>
        public string? PurchaseSart { get; set; } = "待采购";
        /// <summary>
        /// 实际采购价格
        /// </summary>
        public decimal? PurchaseSumMoney { get; set; }
        /// <summary>
        /// 采购单价
        /// </summary>
        public decimal? PurchasePrice { get; set; }
        /// <summary>
        /// 支付价格
        /// </summary>
        public string? PurchasePayPrice { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string? PayType { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }
    }
}
